package com.example.myapplication;

import android.app.Application;
import android.content.Context;

public class App extends Application {
    UtilCompoent utilCompoent;

    @Override
    public void onCreate() {
        super.onCreate();
        utilCompoent = DaggerUtilCompoent.builder().build();
    }

    public static App get(Context context) {
        return (App) context.getApplicationContext();
    }

    UtilCompoent getUtilCompoent() {
        return utilCompoent;
    }

}